package com.jmb.api.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum FailedType implements BaseEnum{
    RETRY(0,"停止"),
    STOP(1,"重试");
    @EnumValue
    @JsonValue
    private Integer code;
    private String name;

    FailedType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Integer getCode() {
        return 0;
    }

    @Override
    public String getMsg() {
        return "";
    }
}
